home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 2,801 to 2,900 / aol-file-protocol-4400-2801-to-2900.zip / AOLDLs / C++ Files Library / HyperCuber Source / HyperCuber 2.0 Source.sit / HyperCuber 2.0 Source / CControlsDirector.h < prev    next >
Text File  |  1994-05-02  |  1KB  |  39 lines

  1. //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2. // CControlsDirector.h
  3. //
  4. // This file contains the interface to the controls window director.
  5. //___________________________________________________________________________
  6.  
  7. #include <CDirector.h>
  8.  
  9. CLASS CHyperCuberPane;
  10. CLASS CHyperScrollBar;
  11.  
  12. class CControlsDirector : public CDirector
  13.     {
  14.  
  15.     CHyperCuberPane    *graphic_pane;                //  Pane containing the object these bars control
  16.     long            dimension;                    //  Dimension of the graphic to control
  17.  
  18.     CHyperScrollBar    *perspective_bar;            //  The scroll bar which controls perspective
  19.     CList            *angle_bars;                //  List of angle scroll bars
  20.  
  21.     void    BuildWindow(void);
  22.     void    SetupScrollBar(short voffset, char *title, CHyperScrollBar **bar,
  23.                                 long angle_num,
  24.                                     short min, short max, short value,
  25.                                         Boolean wrap);
  26.  
  27.   public:
  28.  
  29.     virtual void    IControlsDirector(CDirectorOwner *aSupervisor,
  30.                                         CHyperCuberPane *pane, long dimension);
  31.  
  32.     virtual void    ProviderChanged(CCollaborator *provider, long reason, void *info);
  33.     virtual void    OffsetScrollBar(long angle, long offset);
  34.     
  35.     virtual void    ShowWindow(void);
  36.     virtual void    HideWindow(void);
  37.  
  38.     };
  39.